package com.bwie.home.backstage.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.home.backstage.entity.UserHousesRemarkEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 
 * 
 * @author sy
 * @email sunlightcs@gmail.com
 * @date 2021-09-10 09:46:41
 */
@Mapper
public interface UserHousesRemarkDao extends BaseMapper<UserHousesRemarkEntity> {

    IPage<UserHousesRemarkEntity> UserHousesRemark(Page<UserHousesRemarkEntity> userHousesRemark, @Param("pingjia") UserHousesRemarkEntity pingjia);

    @Select("select * from tb_user_houses_remark where remark_id = #{remarkId}")
    UserHousesRemarkEntity getremarkId(Integer remarkId);
}
